package myschool.entity;

import java.io.Serializable;
import java.util.Date;

public class ExamResult implements Serializable {
    private int id;
    private int stid;
    private int sbid;
    private float score;
    private Date examDate;


    public ExamResult(int id, int stid, int sbid, float score, Date examDate) {
        this.id = id;
        this.stid = stid;
        this.sbid = sbid;
        this.score = score;
        this.examDate = examDate;
    }
    public ExamResult(int stid, int sbid, float score, Date examDate) {
        this.stid = stid;
        this.sbid = sbid;
        this.score = score;
        this.examDate = examDate;
    }
    public ExamResult(){

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStid() {
        return stid;
    }

    public void setStid(int stid) {
        this.stid = stid;
    }

    public int getSbid() {
        return sbid;
    }

    public void setSbid(int sbid) {
        this.sbid = sbid;
    }

    public float getScore() {
        return score;
    }

    public void setScore(float score) {
        this.score = score;
    }

    public Date getExamDate() {
        return examDate;
    }

    public void setExamDate(Date examDate) {
        this.examDate = examDate;
    }

    @Override
    public String toString() {
        return "ExamResult{" +
                "id=" + id +
                ", stid=" + stid +
                ", sbid=" + sbid +
                ", score=" + score +
                ", examDate=" + examDate +
                '}';
    }
}
